package commands;

import org.jibble.pircbot.PircBot;

public class Quit implements Command {

	public String getCommandName() {
		return "quit";
	}

	public void execCommand(String channel, String sender, String login,
			String hostname, String message, PircBot bot) {
		if (message.equalsIgnoreCase(bot.getNick())) {
			bot.quitServer("Bye bye!");
		}
	}
}
